<template>
<div :class="[$style.container]">
  <div :class="[$style.body]">
    <div :class="[$style.banner]">
      <el-avatar :size="36" src="/logo.png"></el-avatar>
      <span class="ml-3 ft-32 text-heading">玖钉文档系统</span>
    </div>
    <div :class="[$style.content]">
      <div class="ft-64 text-error text-center"><i class="el-icon-warning"></i></div>
      <p class="text-secondary text-center">啊哦，来晚了，该分享文件已过期 </p>
    </div>
  </div>
</div>
</template>

<script lang="ts">
import { Vue, Component, Prop } from 'vue-property-decorator'

@Component
export default class ExpiredPage extends Vue {
  @Prop() data!: any
}
</script>

<style lang="scss" module>
@import "~@/styles/vars.scss";

.container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: $bg-body-color;
}

.body {
  width: 480px;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.content {
  background: #fff;
  min-height: 80px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(171, 198, 235, .3);
  padding: 20px;
}
</style>
